package com.itbaizhan.openhis.constants;

public interface HttpStatus {
	
	/**
	 * 200 OK操作成功
	 */
	int SUCCESS = 200;

	/**
	 * 400 Bad Request参数错误
	 */
	int BAD_REQUEST = 400;
	
	/**
	 * 401 Unauthorized未授权
	 */
	int UNAUTHORIZED = 401;
	
	/**
	 * 403 Forbidden禁止访问，授权失败
	 */
	int FORBIDDEN = 403;
	
	/**
	 * 404 Not Found未找到
	 */
	int NOT_FOUND = 404;
	
	/**
	 * 405 Method Not Allowed不允许的方法
	 */
	int METHOD_NOT_ALLOWED = 405;

	/**
	 * 500 Internal Server Error服务器内部错误
	 */
	int ERROR = 500;
}
